package controler;

import userInterface.MainWindow;
import baseObject.IBrickBreaker;
import baseObjectContract.BrickBreakerContract;
import baseObjectContract.BrickBreakerContractConnexion;

public class Start {
	public static void main(String[]a){
		//IBrickBreaker concreteBrickBreacker = BaseObjectsFactory.newBrickBreaker();
		IBrickBreaker contractBrickBreacker = new BrickBreakerContract(new BrickBreakerContractConnexion());
		MainWindow mainWindow = new MainWindow();
		new Thread(new ContractControler(contractBrickBreacker, mainWindow)).start();
	}
}
